//package com.gtp.mq.demo.expands;
//
//import org.aopalliance.intercept.MethodInterceptor;
//import org.aopalliance.intercept.MethodInvocation;
//import org.springframework.amqp.core.Message;
//
///**
// * 收消息时advice拦截:Advice
// */
//public class MyMethodInterceptor implements MethodInterceptor{
//
//	@Override
//	public Object invoke(MethodInvocation invocation) throws Throwable {
//		Message message = (Message) invocation.getArguments()[1];
//		System.out.println("收"+message);
//		return invocation.proceed();
//	}
//
//}
